﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>多人处理规则</title>

    <link href="../../../Scripts/easyUI145/themes/color.css" rel="stylesheet" />
    <link href="../../../Scripts/easyUI145/themes/default/easyui.css" rel="stylesheet" type="text/css" />
    <script src="../../../Scripts/jquery-1.7.2.min.js" type="text/javascript"></script>
    <script src="../../../Scripts/easyUI/jquery.easyui.min.js" type="text/javascript"></script>
    <link href="../../../../DataUser/Style/ccbpm.css" rel="stylesheet" type="text/css" />
    <!-- 自己的系统风格统一. -->
    <link href="../../../Style/skin/adminfont/iconfont.css" rel="stylesheet" />
    <link href="../../../Style/skin/css/Default.css" rel="stylesheet" />
    <!-- 自己的系统风格统一end -->
    <script src="../../../Scripts/QueryString.js" type="text/javascript"></script>
    <script type="text/javascript" src="../../../Scripts/config.js"></script>
    <script type="text/javascript" src="../../../Comm/Gener.js"></script>
    <script src="DDLBar.js" type="text/javascript"></script>
    <script src="../../CCFlowEnum.js" type="text/javascript"></script>
    <script src="../../../Scripts/EasyUIUtility.js" type="text/javascript"></script>
    <script src="../../../Scripts/vue.js"></script>
    <script src="../../Admin.js"></script>
    <style>
        .olText {
            list-style: none;
            margin-bottom: 10px;
        }
    </style>
    <script>
        var nodeID = GetQueryString("FK_Node");
        var node = new Entity("BP.WF.Node", nodeID);
        $(function () {
            InitBar(TodolistModel.QiangBan);
            var QiangBanSendAfterRole = node.GetPara("QiangBanSendAfterRole");
            //设置文本框选择的值.
            if (QiangBanSendAfterRole == undefined)
                QiangBanSendAfterRole = 0;
            $("#QiangBanSendAfterRole_" + QiangBanSendAfterRole).attr("checked", true);
            // $("#DDLPara_QiangBanSendAfterRole  option[value='" + QiangBanSendAfterRole + "'] ").attr("selected", true)
        });
        function Save() {
            $("#Btn_Save").html('正在保存请稍候...');
            node.TodolistModel = TodolistModel.QiangBan;
            //抢办发送后处理模式.
            var QiangBanSendAfterRole = $("input[name='QiangBanSendAfterRole']:checked").val();
            node.SetPara("QiangBanSendAfterRole", QiangBanSendAfterRole);
            node.Update();
            Reload();
        }
    </script>
</head>
<body>
    <div id="bar">

    </div>
    <form id="cc">
        <fieldset>

            <legend>发送后处理规则 </legend>
            <ul>
                <li style="list-style:none">
                    <input type="radio" value="0" id="QiangBanSendAfterRole_0" name="QiangBanSendAfterRole" /> <label style="font-weight:bolder" for="QiangBanSendAfterRole_0"> 不处理（默认）</label>
                    <ol class="olText">
                        <li>说明：对未处理的人员不做任何操作, 未处理的人员待办消失. </li>
                    </ol>

                    <input type="radio" value="1" id="QiangBanSendAfterRole_1" name="QiangBanSendAfterRole" /> <label style="font-weight:bolder" for="QiangBanSendAfterRole_1"> 抄送给未处理的人</label>
                    <ol class="olText">
                        <li> 说明：向未处理的人员发送抄送消息。 </li>

                    </ol>
                    <input type="radio" value="2" id="QiangBanSendAfterRole_2" name="QiangBanSendAfterRole" /> <label style="font-weight:bolder" for="QiangBanSendAfterRole_2"> 发消息给未处理的人</label>
                    <ol class="olText">
                        <li> 说明：通过消息机制发送消息给未处理的人员。 </li>
                    </ol>
                </li>
            </ul>


        </fieldset>

        <fieldset>
            <legend id="help">说明 </legend>
            <ul>
                <li style="color: Gray">A发送到B ，B节点上有n个人可以处理。这n个人都可以看到待办，当其中一个人处理后，其他人的待办就消失了。</li>
                <li style="color: Gray">这样的工作模式属于抢办，这n个人可以同时打开，当一个人发送后，其他人都不能在发送了。</li>
                <li style="color: Gray">通俗的说，也就是谁抢到了这件工作，就是谁处理的。</li>
                <li style="color: Gray">抢办模式是一个默认的处理模式。</li>
            </ul>

        </fieldset>

    </form>
</body>
</html>
